/*
* @Author: pao
* @Date:   2016-12-30 23:51:13
* @Last Modified by:   pao
* @Last Modified time: 2017-01-02 17:17:54
*/

'use strict';

const express=require('express');

const loginCtrl=require('../controller/loginCtrl.js');

const loginRoute=express.Router();


loginRoute.get('/login',loginCtrl.getLoginPage);

loginRoute.get('/vcode',loginCtrl.getCaptchapng)

loginRoute.post('/login',loginCtrl.login);

// loginRoute.get('/logout',loginCtrl.login);

module.exports=loginRoute;